package sh.wnxy.wn38.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wn38
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)

@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
      private String userId;

    private String userName;

    private String userPwd;
    @TableField(fill = FieldFill.INSERT)
    private String userImg;

    private String gender;

    private LocalDate birthday;

    private String userPhone;

    private String userArea;
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean isDelete;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;


}
